<?php
include_once("db.inc");
$MaSanPham = $_REQUEST["MaSanPham"];
$sql = "delete from sanpham where masanpham='$MaSanPham'"; 
mysql_query($sql);
$result = mysql_affected_rows();
$return = "";
if($result > 0)
	$return = $return."1";
echo $return;
?>